package com.cpecc.manager.system;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.cpecc.dao.system.WuZiLBDao;
import com.cpecc.model.system.WuZiLB;

@Service
public class WuZiLBManager {
	
	@Autowired
	private WuZiLBDao wuZiLBDao;
	
	public List<WuZiLB> getAllWuZiLB(){
		return wuZiLBDao.getAllWuZiLB();
	}
	
	public List<WuZiLB> getAllWuZiLB1(){
		return wuZiLBDao.getAllWuZiLB1();
	}
	
	public List<WuZiLB> getAllWuZiLB2(String id){
		return wuZiLBDao.getAllWuZiLB2(id);
	}
	
	public void save(WuZiLB wuZiLB){
		wuZiLBDao.save(wuZiLB);
	}
	
	public boolean cover(WuZiLB wuZiLB){
		return wuZiLBDao.cover(wuZiLB);
	}
	
	public WuZiLB get(String id){
		return wuZiLBDao.get(id);
	}
	
	public void delete(WuZiLB wuZiLB){
		wuZiLBDao.delete(wuZiLB);
	}
	
	public WuZiLB getByWuZiLBMC(String wuZiLBMC){
		return wuZiLBDao.getByWuZiLBMC(wuZiLBMC);
	}
}
